import { EChartsOption } from "echarts";

export const chartProps = {
    options: {
        type: Object as () => EChartsOption,
        default: () => { }
    }
}

export const chartDataProps = {
    data: {
        type: Array as () => IChartData[],
        default: () => []
    }
}
export interface IChartData {
    name: string;
    value: string;
}